<include file="Public/header" />
<link rel="stylesheet" href="__PUBLIC__/Home/css/cart.css" />
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery-1.10.2.js"></script>

<div class="cart-detial">
	<div class="cart-detial-left">
		<foreach name="cartinfo" item="v">
			<div class="pli" id="pli{$v['goodsid']}">
			   
				<div class="pli-info num-class"><img width="40" height="40" src="/shopping/thinkshop/Uploads/{$v['thumb']}">

				</div>
				<div class="pli-info num-class">￥:{$v['price']}</div>
				<div class="pli-info num-class">
					
		              <a id="des" class="des" attr-goodid="{$v['goodsid']}" href="javascript:void(0)">-</a>
		              <input width="20" type="text" name="num"  id="num{$v['goodsid']}" 
		              value="{$v['number']}">
		              <a id="add" class="add" attr-goodid="{$v['goodsid']}" href="javascript:void(0)">+</a>
				</div>
				<div class="pli-info num-class"><a href="javascript:void(0)" class="cart-del" attr-goodid="{$v['goodsid']}"><i class="fa fa-times"></i></a></div>
			</div>
		</foreach>
	</div>
	<div class="cart-detial-right">
		<div class="cart-detial-right-top">商品购物车</div>
		<div class="cart-detial-right-price">
			<div class="span">订单总价</div>
			<div class="context">￥<span id="ordertotalprice" class="totalprice">0</span></div>
		</div>
		<div class="cart-detial-right-btn">
		<if condition="empty($cartinfo)">
			<a href ="javascript:void(0)">去结算</a>
			<else/>
			  <a href="/index.php?c=Order&a=index">去结算</a>
			</if>
		</div>

		<div class="cart-detial-right-continue"><a href="/index.php?c=Index&a=index">继续购物</a></div>
	</div>
</div>

<script src="__PUBLIC__/Home/js/cartdetial.js"></script>





<include file="Public/footer" />